import request from '@/utils/request'

// 获取短信开关状态
export function getSmsStatus() {
  return request({
    url: '/business/sms/getInfo',
    method: 'get'
  })
}

// 更新短信开关状态
export function updateSmsStatus(data) {
  return request({
    url: '/business/sms/update',
    method: 'post',
    data: data
  })
}